Eclipse Platform
Pre-release 3.0

org.eclipse.jface.text
Interface IInformationControlCreatorExtension


public interface IInformationControlCreatorExtension

Extension to IInformationControlCreator which tests if an existing information control can be reused.

Since:
3.0
See Also:
IInformationControlCreator, IInformationControl

Method Summary
 boolean canReplace(IInformationControlCreator creator)
          Tests whether the given information provider can replace the given information provide.
 boolean canReuse(IInformationControl control)
          Tests if an existing information control can be reused.
 

Method Detail

canReuse

public boolean canReuse(IInformationControl control)
Tests if an existing information control can be reused.

Parameters:
control - the information control to test
Returns:
true if the control can be reused

canReplace

public boolean canReplace(IInformationControlCreator creator)
Tests whether the given information provider can replace the given information provide. This is the case if the two creators create the same kind of information controls.

Parameters:
creator - the creator to be checked
Returns:
true if the given creator can be replaced

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.